#pragma once
#include "CDuration.h"

class CRepeatBehavior :
	public CDuration
{
protected: 
	CRepeatBehavior();
private: 
	CRepeatBehavior(CCoreServices * pCore);
	virtual ~CRepeatBehavior();
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	XFLOAT m_rCount;
private: 
	HRESULT InitFromString(XUINT32 cString, XUINT16 * pString);
};